package com.pricetag.googleproductsearch;

import java.util.List;

public class FinalPriceResult {

	private List<Items> items;

	public List<Items> getItems() {
		return items;
	}

	public void setItems(List<Items> items) {
		this.items = items;
	}

	@Override
	public String toString() {
		return "FinalPriceResult [items=" + items + "]";
	}

	static class Items {

		private String id;
		private Product product;

		public Product getProduct() {
			return product;
		}

		public void setProduct(Product product) {
			this.product = product;
		}

		public String getid() {
			return id;
		}

		public void setid(String id) {
			this.id = id;
		}

		public String toString() {
			return "Items [id=" + id + ", product=" + product + "]";
		}

	}

	static class Product {
		private List<Inventories> inventories;
		private List<Images> images;
		private String title;
		private String link;

		public List<Inventories> getInventories() {
			return inventories;
		}

		public void setInventories(List<Inventories> inventories) {
			this.inventories = inventories;
		}

		public String getTitle() {
			return title;
		}

		public void setTitle(String title) {
			this.title = title;
		}

		public String getLink() {
			return link;
		}

		public void setLink(String link) {
			this.link = link;
		}

		public List<Images> getImages() {
			return images;
		}

		public void setImages(List<Images> images) {
			this.images = images;
		}

		@Override
		public String toString() {
			return "Product [inventories=" + inventories + ", images=" + images
					+ ", title=" + title + ", link=" + link + "]";
		}

	}

	static class Inventories {
		private String channel;
		private String price;
		private String currency;
		private String availability;

		public String getChannel() {
			return channel;
		}

		public void setChannel(String channel) {
			this.channel = channel;
		}

		public String getPrice() {
			return price;
		}

		public void setPrice(String price) {
			this.price = price;
		}

		public String getCurrency() {
			return currency;
		}

		public void setCurrency(String currency) {
			this.currency = currency;
		}

		public String getAvailability() {
			return availability;
		}

		public void setAvailability(String availability) {
			this.availability = availability;
		}

		public String toString() {
			return "Inventories [channel=" + channel + ", price=" + price
					+ ", currency=" + currency + ", availability="
					+ availability + "]";
		}

	}

	static class Images {

		private String link;

		public String getLink() {
			return link;
		}

		public void setLink(String link) {
			this.link = link;
		}

		@Override
		public String toString() {
			return "Images [link=" + link + "]";
		}

	}

}
